package com.ruoyi.ptsp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 拼团商品对象 ptsp
 *
 * @author ruoyi
 * @date 2024-08-06
 */
public class Ptsp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String sptp;

    /** 拼团名称 */
    @Excel(name = "拼团名称")
    private String ptmc;

    /** 拼团简介 */
    @Excel(name = "拼团简介")
    private String ptjj;

    /** 拼团时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拼团时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ptsj;

    /** 物流方式 */
    @Excel(name = "物流方式")
    private String wlfs;

    /** 运费设置 */
    @Excel(name = "运费设置")
    private Long yfsz;

    /** 固定邮费 */
    @Excel(name = "固定邮费")
    private String gdyf;

    /** 运费模板 */
    @Excel(name = "运费模板")
    private String yfmb;

    /** 拼团时效(单位小时) */
    @Excel(name = "拼团时效(单位小时)")
    private String ptsx;

    /** 拼团人数 */
    @Excel(name = "拼团人数")
    private String ptrs;

    /** 虚拟成团补齐人数 */
    @Excel(name = "虚拟成团补齐人数")
    private String xnctbprs;

    /** 总购买数量限制 */
    @Excel(name = "总购买数量限制")
    private String zgmslxz;

    /** 单次购买数量限制 */
    @Excel(name = "单次购买数量限制")
    private String dcgmslxz;

    /** 单位 */
    @Excel(name = "单位")
    private String dw;

    /** 团长返佣比例 */
    @Excel(name = "团长返佣比例")
    private String tzfybl;

    /** 拼团是否参与分销 */
    @Excel(name = "拼团是否参与分销")
    private Long ptsfcyfx;

    /** 排序 */
    @Excel(name = "排序")
    private String px;

    /** 热门推荐 */
    @Excel(name = "热门推荐")
    private Long rmtj;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Long hdzt;

    /** 拼团价 */
    @Excel(name = "拼团价")
    private BigDecimal ptj;

    /** 限量 */
    @Excel(name = "限量")
    private Long xl;

    /** 规格id */
    @Excel(name = "规格id")
    private String ggid;

    /** 详情 */
    @Excel(name = "详情")
    private String xq;

    /** 原价 */
    @Excel(name = "原价")
    private Long yj;

    /** 成团数量 */
    @Excel(name = "成团数量")
    private Long ctsl;

    /** 限量剩余 */
    @Excel(name = "限量剩余")
    private Long xlsy;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long sjzt;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSptp(String sptp)
    {
        this.sptp = sptp;
    }

    public String getSptp()
    {
        return sptp;
    }
    public void setPtmc(String ptmc)
    {
        this.ptmc = ptmc;
    }

    public String getPtmc()
    {
        return ptmc;
    }
    public void setPtjj(String ptjj)
    {
        this.ptjj = ptjj;
    }

    public String getPtjj()
    {
        return ptjj;
    }
    public void setPtsj(Date ptsj)
    {
        this.ptsj = ptsj;
    }

    public Date getPtsj()
    {
        return ptsj;
    }
    public void setWlfs(String wlfs)
    {
        this.wlfs = wlfs;
    }

    public String getWlfs()
    {
        return wlfs;
    }
    public void setYfsz(Long yfsz)
    {
        this.yfsz = yfsz;
    }

    public Long getYfsz()
    {
        return yfsz;
    }
    public void setGdyf(String gdyf)
    {
        this.gdyf = gdyf;
    }

    public String getGdyf()
    {
        return gdyf;
    }
    public void setYfmb(String yfmb)
    {
        this.yfmb = yfmb;
    }

    public String getYfmb()
    {
        return yfmb;
    }
    public void setPtsx(String ptsx)
    {
        this.ptsx = ptsx;
    }

    public String getPtsx()
    {
        return ptsx;
    }
    public void setPtrs(String ptrs)
    {
        this.ptrs = ptrs;
    }

    public String getPtrs()
    {
        return ptrs;
    }
    public void setXnctbprs(String xnctbprs)
    {
        this.xnctbprs = xnctbprs;
    }

    public String getXnctbprs()
    {
        return xnctbprs;
    }
    public void setZgmslxz(String zgmslxz)
    {
        this.zgmslxz = zgmslxz;
    }

    public String getZgmslxz()
    {
        return zgmslxz;
    }
    public void setDcgmslxz(String dcgmslxz)
    {
        this.dcgmslxz = dcgmslxz;
    }

    public String getDcgmslxz()
    {
        return dcgmslxz;
    }
    public void setDw(String dw)
    {
        this.dw = dw;
    }

    public String getDw()
    {
        return dw;
    }
    public void setTzfybl(String tzfybl)
    {
        this.tzfybl = tzfybl;
    }

    public String getTzfybl()
    {
        return tzfybl;
    }
    public void setPtsfcyfx(Long ptsfcyfx)
    {
        this.ptsfcyfx = ptsfcyfx;
    }

    public Long getPtsfcyfx()
    {
        return ptsfcyfx;
    }
    public void setPx(String px)
    {
        this.px = px;
    }

    public String getPx()
    {
        return px;
    }
    public void setRmtj(Long rmtj)
    {
        this.rmtj = rmtj;
    }

    public Long getRmtj()
    {
        return rmtj;
    }
    public void setHdzt(Long hdzt)
    {
        this.hdzt = hdzt;
    }

    public Long getHdzt()
    {
        return hdzt;
    }
    public void setPtj(BigDecimal ptj)
    {
        this.ptj = ptj;
    }

    public BigDecimal getPtj()
    {
        return ptj;
    }
    public void setXl(Long xl)
    {
        this.xl = xl;
    }

    public Long getXl()
    {
        return xl;
    }
    public void setGgid(String ggid)
    {
        this.ggid = ggid;
    }

    public String getGgid()
    {
        return ggid;
    }
    public void setXq(String xq)
    {
        this.xq = xq;
    }

    public String getXq()
    {
        return xq;
    }
    public void setYj(Long yj)
    {
        this.yj = yj;
    }

    public Long getYj()
    {
        return yj;
    }
    public void setCtsl(Long ctsl)
    {
        this.ctsl = ctsl;
    }

    public Long getCtsl()
    {
        return ctsl;
    }
    public void setXlsy(Long xlsy)
    {
        this.xlsy = xlsy;
    }

    public Long getXlsy()
    {
        return xlsy;
    }
    public void setSjzt(Long sjzt)
    {
        this.sjzt = sjzt;
    }

    public Long getSjzt()
    {
        return sjzt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sptp", getSptp())
                .append("ptmc", getPtmc())
                .append("ptjj", getPtjj())
                .append("ptsj", getPtsj())
                .append("wlfs", getWlfs())
                .append("yfsz", getYfsz())
                .append("gdyf", getGdyf())
                .append("yfmb", getYfmb())
                .append("ptsx", getPtsx())
                .append("ptrs", getPtrs())
                .append("xnctbprs", getXnctbprs())
                .append("zgmslxz", getZgmslxz())
                .append("dcgmslxz", getDcgmslxz())
                .append("dw", getDw())
                .append("tzfybl", getTzfybl())
                .append("ptsfcyfx", getPtsfcyfx())
                .append("px", getPx())
                .append("rmtj", getRmtj())
                .append("hdzt", getHdzt())
                .append("ptj", getPtj())
                .append("xl", getXl())
                .append("ggid", getGgid())
                .append("xq", getXq())
                .append("yj", getYj())
                .append("ctsl", getCtsl())
                .append("xlsy", getXlsy())
                .append("sjzt", getSjzt())
                .toString();
    }
}
